package com.jinzhi.common.type;

/**
 * 表单类型
 */
public enum DateEnum {
    YEAR(1,"年"),
    MONTH(2,"月"),
    WEEK(3,"周"),
    DAY(4,"日");

    private int code;
    private String msg;

    DateEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
